#parse("/user/admin/inc/top.htm")
<div class="clearfix"></div>
<div class="MainPannel">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="38" align="center"><table width="98%" height="34" border="0" cellpadding="0" cellspacing="0">
          <tr>
              <td width="40" align="right"><img src="/images/list.gif" width="32" height="32" /></td>
              <td class="titletxt">我的分类</td>
          </tr>
        </table></td>
    </tr>
</table>
<script language="javascript">
function doShow(){
	var id=ListForm.cid.value;
	if(id==""){
		alert("请选择要编辑的数据！");
		return false;
	}
	window.open("/showUser.do?cid="+id,"","");
}
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td align="center" valign="top"><form id="ListForm" name="ListForm"  method="post" action="/blogNewsDir.do">
          <input type="hidden" name="parameter" value="">
          <input type="hidden" name="cid"   value="$!cid">
          <input type="hidden" name="parentsn"   value="$!parentsn">
          <input type="hidden" name="mulitCid"   value="$!mulitCid">
		<div style="margin:8px">
          <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CBD9D9" class="BorderLine">
            <thead>
              <tr valign="middle">
                <td width="20" height="27"><span class="title1" align="center">
                  <input name="checkbox" type="checkbox"  onclick="selectAll(cids,this.checked);">
                  </span></td>
                <td width="200" class="title1" align="center">分类名称</td>
                <td class="title1" align="center">简介</td>
                <!--<td width="15%"><div align="center" class="cn_12px">类型</div></td>-->
                <td width="150" class="title1" align="center">操作</td>
              </tr>
            </thead>
            #foreach( $info in $list)
            <tr id="$!info.cid" bgcolor="#F8FCF8"  class="coolselect" style="cursor:default" onDblClick="selectRow(this.id);doEdit();" onClick="selectRow(this.id);" onMouseOver="this.className='MouseOver';" onMouseOut="this.className='MouseOut'">
              <td height="27" align="center">
                  <input type="checkbox" name="cids" value="$!info.cid">
              </td>
              <td align="center">$!info.title</td>
              <td align="center" >$!info.intro</td>
              <td align="center">
              <a href="javascript:selectRow('$!info.cid');doEdit();"><img src="/images/system/edit.png" width="16" height="16" border="0" align="absmiddle"/></a>
              <a href="javascript:selectRow('$!info.cid');doEdit();">编辑</a>　
              
              <a href="javascript:selectRow('$!info.cid');doDel();"><img src="/images/system/delete.png" width="16" height="16" border="0" align="absmiddle"/></a>
              <a href="javascript:selectRow('$!info.cid');doDel();">删除</a>　
                <!--<a href="blogNewsDir.do?parameter=list&&parentsn=$!info.cid" >管理下级</a>--></td>
            </tr>
            #end
          </table>
</div>
        </form></td>
    </tr>
    <tr>
      <td align="center" height="25"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="cn_12px">
          <tr>
            <td align="center"><br/>
              第<strong> #if($!page>0)
              $!page
              #else
              1
              #end </strong>页 共<strong>#if($!pages>0)
              $!pages
              #else
              1
              #end</strong>页<span class="txt1">[共<b>$!rows</b>条记录]</span> 　　
              #if($gotoPageHTML=="")
              #else
              分页：$!gotoPageHTML　
              #end </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td height="40" align="left" valign="middle"><table height="30" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="50" align="left" valign="middle">&nbsp;</td>
            <td width="50" align="center" valign="middle"><input type="button" name="SubmitAdd" value="添加" onClick="doAdd();"></td>
            <td width="50" align="center" valign="middle"><input type="button" name="SubmitEdit" value="修改" onClick="doEdit();"></td>
            <td width="50" align="center" valign="middle"><input type="button" name="SubmitDel" value="删除" onClick="doDel();"></td>
            <td width="50" align="center" valign="middle"><input type="button" name="SubmitBack" value="返回" onClick="location.replace('blogNewsDir.do');"></td>
          </tr>
        </table></td>
    </tr>
  </table>
	<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
#parse("/user/admin/inc/bottom.htm")
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end